package com.cnbot.httpsdk.bean;

import com.google.gson.JsonObject;

/**
 * Copyright (c) 2016-a  Hunan Cnbot Co., Ltd. All Rights Reserved.
 *
 * @descriptoin 业务数据实体基类，因后台接口基类可能存在不同，故后面可能会修改
 * @FileName: BaseResBean.java
 * @author: dc
 * @date: 2019/1/18 17:43
 * @version: 1.0
 */

public class BaseResBean {


    private int code;
    private String msg;
    private JsonObject data;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg == null ? "" : msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public JsonObject getDataMap() {
        return data;
    }

    public void setDataMap(JsonObject dataMap) {
        this.data = dataMap;
    }
}
